<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%
	String path = request.getContextPath() + "/";
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<!doctype html>
<html>
<head>
    <title>管理员登陆</title>
    <link href="<%=basePath %>js/admin_login.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="admin_login_wrap">
    <h1>后台管理员登陆</h1>
    <div class="adming_login_border">
        <div class="admin_input">
            <form action="<%=basePath %>admin/login" method="post" id="myform">
                <ul class="admin_items">
                    <li>
                        <label for="user">用户名：</label>
                        <input type="text"  value="" id="name" size="40" class="admin_input_style" name="name" />
                    </li>
                    <li>
                        <label for="pwd">密码：</label>
                        <input type="password"  id="password" size="40" class="admin_input_style" name="pwd"/>
                    </li>
                    <li>
                         <input type="submit" tabindex="3" value="提交" class="btn btn-primary" />
                    </li>
                </ul>
            </form>
        </div>
    </div>
    <p class="admin_copyright"><a tabindex="5" href="#"></a> &copy; 2017/06 Powered by <a href="http://jscss.me" target="_blank">美在科技有限公司</a></p>
</div>
<!-- <script type="text/javascript">
	function submitForm(){
		var name = $("#name").val();
		var pwd = $("#password").val();
		var action = ${pageContext.request.contextPath}+'/'+'admin/login'+'/'+name+'/'+pwd;
		$("#myform").attr("action",action);
		$("#myform").submit();
	}
	
	
</script> -->
</body>
</html>